//
//  CTMediator+OCRSdk.m
//  ModuleManager
//
//  Created by guohongqi on 2021/7/12.
//

#import "CTMediator+OCRSdk.h"

@implementation CTMediator (OCRSdk)

- (void)ocrSDKModuleOCRSDKInit{
    [self performTarget:@"OCRSdk" action:@"ocrSDKinit" params:nil shouldCacheTarget:YES];
}

- (NSString *)OCRSdkRecoginzePhoneWithImageBuffer:(UIImage *)imageBuffer{
    NSMutableDictionary *dic = [[NSMutableDictionary alloc] initWithCapacity:0];
    [dic setValue:imageBuffer forKey:@"image"];
    return [self performTarget:@"OCRSdk" action:@"recoginzePhoneWithImageBuffer" params:dic shouldCacheTarget:YES];
}


@end
